package com.course.utils.web;

import com.course.model.HttpConfigBean;

public interface HttpRespCallBack<T> {
    void onReqStart(HttpConfigBean flag);

    void onReqFinish(HttpConfigBean flag);

    void onReqFail(HttpConfigBean flag, Exception e, String errorMsg);

    void onSuccess(HttpConfigBean flag, boolean isPage, T t);

}
